function Ecolavado() {
};

Ecolavado.prototype.init = function(urls){
	var self = this;
	self.init(urls);

}

Ecolavado.prototype.init= function (urls){
	var self = this;
	self.ingresar();
	self.registrar();

};

Ecolavado.prototype.ingresar=function(){
	var self = this;
	 $("#ingresarBtn").click(function(){
		 $('#loginForm').submit();	
	 });

};	

Ecolavado.prototype.registrar=function(){ /*
	var self = this;
	 $("#registraseBtn").click(function(){
	var div = $("<div id='advancedCall' style='position:absolute; top:40px; left:40px; width:300px; height:300px; visibility:visible z-index:1'> <form method='post'   id='loginForm'><input class='demo login_input' type='text'     name='user_name'     id='user_name' value='Usuario' /><input class='demo login_input' type='password' name='user_password' id='password' value='Ingresar Password' /><input class='demo login_input' type='password' name='re_password'   id='repassword' value='Repetir Password' /><input class='demo login_input' type='text' name='email'        id='email' value='Email' /><input class='demo login_input' type='text' name='patente'        id='patente' value='Patenre Automovil' /><input class='demo login_input' type='text' name='direccion'        id='direccion' value='Direccion' /><input type='hidden' name='login'  value='Log in' /></form></div>"
	  );
	div.dialog({
			
			autoOpen : true,
			width : 350,
			height : 250,
			show: 'fade',
            hide: 'fade',
            modal :true,
            close : function(event, ui) {
				$(this).dialog("destroy");
				$(this).remove();
			},
			buttons : {
				'Cancelar' :  function() {
					$(this).dialog("close");
				}
			   ,'Aceptar' :  function() {
				   
			     }
			}
           
        });


	 });
	

*/};	


